package cn.bxg;

public class maipiaoTest {
    public static void main(String[] args) {
        maipiao ticket=new maipiao();
        Thread t1=new Thread(ticket);
        Thread t2=new Thread(ticket);
        Thread t3=new Thread(ticket);
        t1.setName("窗口1");
        t2.setName("窗口1");
        t3.setName("窗口1");

        t1.start();
        t2.start();
        t3.start();
    }
}
